package com.tarena.lbs.gateway.client;

import com.tarena.lbs.common.encoder.JwtEncoder;
import com.tarena.lbs.common.principle.UserPrinciple;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JwtConfig {

    @Bean
    public JwtEncoder<UserPrinciple> jwtEncoder() {
        return new JwtEncoder<>();
    }
}